package org.test.config;

import org.springframework.context.annotation.*;
import org.test.bean.Student;
import org.test.bean.Card;

@ComponentScan( "org.test.bean")
@Configuration
public class MainConfiguration {

//    @Bean
//    @Scope("prototype")
//    public Student student(){
//        Student s=new Student();
//        s.setAge(20);
//        return s;
//
//    }
//    @Bean
//    public Card card(){
//        return new Card();
//    }

}
